/*
 * @Author: scl
 * @Date: 2023-09-16 11:12:52
 * @LastEditTime: 2023-09-16 11:57:21
 * @Description: file content
 */
import { http } from "@/utils/http"
import type { CategoryTopItem } from "@/types/category"
export const getCategoryTopAPI = () => {
    return http<CategoryTopItem[]>({
        url: "/category/top",
        method: "GET"
    })
}